package com.home.jinlanhua.exception;

import com.home.jinlanhua.constant.AllCode;

/**
 * 自定义异常
 */
public class CustomerException extends RuntimeException{

    private AllCode allCode;

    public CustomerException(AllCode allCode) {
        this.allCode = allCode;
    }

    public AllCode getAllCode() {
        return allCode;
    }

    public void setAllCode(AllCode allCode) {
        this.allCode = allCode;
    }
}
